package com.msb.service.impl;

import com.msb.mapper.TblUserRecordMapper;
import com.msb.pojo.TblLoginLog;
import com.msb.mapper.TblLoginLogMapper;
import com.msb.pojo.TblUserRecord;
import com.msb.service.TblLoginLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 登录日志 服务实现类
 * </p>
 *
 * @author chshh
 * @since 2022-10-20
 */
@Service
public class TblLoginLogServiceImpl extends ServiceImpl<TblLoginLogMapper, TblLoginLog> implements TblLoginLogService {
    @Resource
    private TblUserRecordMapper userRecordMapper;


    @Override
    public TblUserRecord login(String username, String password) {

        return userRecordMapper.login(username, password);
    }
}
